<?php 
$cityList = "";
				foreach($cities as $city){
					$cityList.='<option value="'.$city->getCityId().'">'.$city->getName().'</option>'; 
				}
?>
<div id="tabs-search">
	<ul>
		<li><a href="#tabs-people"><?php echo __("People");?></a></li>
		<li><a href="#tabs-places"><?php echo __("Places");?></a></li>
	</ul>
	<div id="tabs-people">
		<!-- People -->
		<br/>
		<div>
			<input type="text" id="personName" class="ui-widget-content ui-corner-all" title="<?php echo __("Friend name");?>"></input>&nbsp;<button class="but-people"><?php echo __("Search");?></button>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Search by");?></h3>
			<div class="sub">
			<div id="searchin">
					<input type="radio" id="searchin1" value="full" name="searchin" /><label for="searchin1"><?php echo __("All Wixet");?></label>
					<input type="radio" id="searchin2" value="friendlist" name="searchin" checked="checked" /><label for="searchin2"><?php echo __("My friends");?></label>
				</div>
			</div>
			<br/>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("City");?></h3>
			<div class="sub">
				<select id="city"><option><?php echo __("Any"); ?></option>
					<?php echo $cityList;?>				
				</select>	
			</div>
			<br/>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Age");?></h3>
			<div class="sub"><?php echo __("Between");?> <select style="width: 70px;" id="agemin"><option>-</option></select> <?php echo __("and");?> <select style="width: 70px;" id="agemax"><option>-</option></select></div>
			<br/>
		</div>
		<br/>
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Study sites");?></h3>
			<span class="sub"><input type="text" class="school ui-widget-content ui-corner-all" title="<?php echo __("Center name");?>"></input></span>
			<ul class="normal-list" id="schoolList"></ul>
		</div>
		<br/>
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Works");?></h3>
			<span class="sub"><input type="text" class="workplace ui-widget-content ui-corner-all" title="<?php echo __("Work or activity");?>"></input></span>
			<ul class="normal-list" id="workplaceList"></ul>
		</div>
		<br/>
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Places");?></h3>
			<span class="sub"><input type="text" class="place ui-widget-content ui-corner-all" title="<?php echo __("Place name");?>"></input></span>
			<ul class="normal-list" id="placeList"></ul>
		</div>
		<!--  -->
	</div>
	<div id="tabs-places">
		<!-- Places -->
		<br/>
		<div>
			<input type="text" id="placeName" class="ui-widget-content ui-corner-all" title="<?php echo __("Name");?>"></input>&nbsp;<button class="but-places"><?php echo __("Search");?></button>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Place type");?></h3>
			<div class="sub">
				<select id="placetype">
				<option value="-"><?php echo __("Any");?></option>
				</select>			
			</div>
			<br/>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("City");?></h3>
			<div class="sub">
				<select id="placecity"><option><?php echo __("Any"); ?></option>
					<?php echo $cityList;?>				
				</select>	
			</div>
			<br/>
		</div>
		<br/>
		
		<div class="ui-widget ui-widget-content ui-corner-all">
			<h3><?php echo __("Town");?></h3>
			<span class="sub"><input type="text" class="town ui-widget-content ui-corner-all" title="<?php echo __("Town name");?>"></input></span>
			<ul class="normal-list" id="townList"></ul>
		</div>
		<br/>

		<!--  -->
	</div>
</div>



